package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Setmeal;
import com.itheima.pojo.subscribe;

import java.util.List;
import java.util.Map;

public interface SubscribeService {
    PageResult pageQuery(QueryPageBean queryPageBean) throws Exception;

    Result addoder(Map formData, Integer[] id) throws Exception;

    List<Setmeal> echoSetmeal();

    /*编辑页面中基本信息回显*/
    Map editecho(Map row);

    Integer[] setmealecho(Map row);

    Result editor(Map map, Integer[] id) throws Exception;

    void dele(Map row);


    void alterthestate(Map state);
}
